package com.bbs.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bbs.dto.CommendQuery;
import com.bbs.dto.CommentAdd;
import com.bbs.pojo.Comment;
import com.bbs.pojo.Result;

public interface ICommentService extends IService<Comment> {
    /**
     * 添加评论接口
     */
    boolean addComment(CommentAdd commentAdd) throws Exception;

    IPage<Comment> getComments(CommendQuery commendQuery);

    boolean deleteComment(String id);
}
